package com.zcckj.demo.order.model.dto;

import com.zcckj.demo.order.model.entity.OrderStatus;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 *
 * <p>
 *  TODO 类作用描述
 * </p>
 *
 * @author zhangjie
 * @since 2019-08-27
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OrderDTO {
    @NotNull
    private Long userId;
    @NotNull
    private Long productId;
    @NotNull
    private Integer payAmount;
    @NotNull
    private OrderStatus status;
}
